<template>
	<div id="app">
		<router-view  v-if="isRouterAlive" />
	</div>
</template>

<script>
	export default {
		name: 'App',
		provide() {
			return {
				reload: this.reload
			}
		},
		data() {
			return {
				isRouterAlive: true
			}
		},
		methods: {
			reload() {
				this.isRouterAlive = false
				this.$nextTick(function() {
					this.isRouterAlive = true
				})
			}
		}
	}
</script>

<style lang="scss">
	@import "~@/styles/mixin.scss";
	@import "~@/styles/variables.scss";
html{
    background-color: #eff2f5
}
	input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-transition-delay: 999999999s;
        -webkit-transition: color 999999999s ease-out, background-color 999999999s ease-out;
    }

	#app {
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		//text-align: center;
		// color: #ffffff;

		width: 100%;
		min-width: 1366px;
		height: 100%;
		// background: url(./assets/imgs/bg-header.png) no-repeat top center/100% auto, linear-gradient(#00549d, #000813);
		background-blend-mode: overlay;

		// box-shadow: 0 0 50px 15px rgba(0, 0, 0, 0.65) inset;
	}


  //隐藏dplayer右键菜单
  .hy-player-wrapper{
    .dplayer-menu.dplayer-menu-show{
      display:none;
    }
  }

	@media all and (max-width: 1500px) {
		html {
			font-size: 65px;
		}

		// ;

		// h1 {
		// 	font-size: 0.32rem;
		// }

		body {
			font-size: 11px;
		}

		// .approve-clock-start {
		// 	display: block;
		// }

	}

	@media screen and (min-width: 1500px) and (max-width: 1750px) {
		html {
			font-size: 90px;
		}

		;

		h1 {
			font-size: 0.32rem;
		}

		body {
			font-size: 12px;
		}
	}

	@media screen and (min-width: 1750px) {
		html {
			font-size: 100px;
		}

		;

		h1 {
			font-size: 0.32rem;
		}

		body {
			font-size: 16px;
		}
	}
</style>
